﻿/*
 * Constants.cs
 * 
 * Purpose:
 * Provides a central location for setting and retrieving constants used throughout the application.
 * 
 * Revision Log:
 * 08-SEP-12, C. Bush, First Draft.
 */

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace Air_Trafic_Control.Domain.Common
{
    public class Constants
    {
        // Limits
        public const int USER_MAX_PROFICIENCY = 5;
        public const int USER_MIN_PROFICIENCY = 1;
        public const int GAME_MAX_DIFFICULTY = 5;
        public const int GAME_MIN_DIFFICULTY = 1;

        // System Constants
        public const int SYS_RADAR_DIAMETER = 636;
        public const int SYS_AIRPORT_DIAMETER = SYS_RADAR_DIAMETER / 10;
        public const int SYS_RADAR_CENTER = SYS_RADAR_DIAMETER / 2;
        public const int SYS_RADAR_RADIUS = SYS_RADAR_DIAMETER / 2;
        public const int SYS_HEADING_ADJUSTMENT_INCREMENT = 2;
        public const int SYS_SPEED_ADJUSTMENT_INCREMENT = 5;

        /// <summary>
        /// Assuming our RADAR gives us a 100 mile radius and the airport is 10 miles across.
        /// </summary>
        public const int PIXELS_PER_MILE = SYS_AIRPORT_DIAMETER / 10;
    }
}
